package com.geeksaga.domain;

import com.geeksaga.annotation.PrintToString;
import com.geeksaga.common.util.Util;

/**
 * @author newbie
 * @since 0.1
 */
public class BbsHistory extends BaseObject {

	private static final long serialVersionUID = -4780715348775462260L;
	
	@PrintToString private String no;
	@PrintToString private String sid;
    @PrintToString private String bbsSid;
    @PrintToString private String bbsNo;
    @PrintToString private int partitionNo;
    @PrintToString private String categorySid;
	@PrintToString private String bbsId;
	@PrintToString private String depth;
	@PrintToString private String bbsIcon;
	@PrintToString private String userSid;
	@PrintToString private String userPasswd;
	@PrintToString private String userNick;
	@PrintToString private String userIcon;
	@PrintToString private String userIp;
	@PrintToString private String userEmail;
	@PrintToString private String userHomepage;
	@PrintToString private String userCountry;
	@PrintToString private String title;
	@PrintToString private String content;
	@PrintToString private String fileCnt;
	@PrintToString private String tagCnt;
	@PrintToString private String noticeYn;
	@PrintToString private String bestYn;
	@PrintToString private String secretYn;
	@PrintToString private String editYn;
	@PrintToString private String pollStart;
	@PrintToString private String pollEnd;
	@PrintToString private String tagName;
	@PrintToString private String tagSid;
	@PrintToString private String thumbnailImg;
    @PrintToString private String registTimestamp;

	public BbsHistory() {
	}
	
	public BbsHistory(String sid) {
	    this.sid = sid;
	}
	
	public BbsHistory(String bbsNo, String bbsId) {
		this.bbsNo = bbsNo;
		this.bbsId = bbsId;
	}

    public String getIp() {
        return Util.hideIp(userIp);
    }

	public String getNo() {
		return no;
	}

	public void setNo(String no) {
		this.no = no;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getBbsSid() {
        return bbsSid;
    }
    
    public void setBbsSid(String bbsSid) {
        this.bbsSid = bbsSid;
    }
	
    public String getBbsNo() {
		return bbsNo;
	}

	public void setBbsNo(String bbsNo) {
		this.bbsNo = bbsNo;
	}

    public int getPartitionNo() {
        return partitionNo;
    }

    public void setPartitionNo(int partitionNo) {
        this.partitionNo = partitionNo;
    }

	public String getCategorySid() {
		return categorySid;
	}

	public void setCategorySid(String categorySid) {
		this.categorySid = categorySid;
	}

	public String getBbsId() {
		return bbsId;
	}

	public void setBbsId(String bbsId) {
		this.bbsId = bbsId;
	}

	public String getDepth() {
		return depth;
	}

	public void setDepth(String depth) {
		this.depth = depth;
	}

	public String getBbsIcon() {
		return bbsIcon;
	}

	public void setBbsIcon(String bbsIcon) {
		this.bbsIcon = bbsIcon;
	}

	public String getUserSid() {
		return userSid;
	}

	public void setUserSid(String userSid) {
		this.userSid = userSid;
	}

	public String getUserPasswd() {
		return userPasswd;
	}

	public void setUserPasswd(String userPasswd) {
		this.userPasswd = userPasswd;
	}

	public String getUserNick() {
		return userNick;
	}

	public void setUserNick(String userNick) {
		this.userNick = userNick;
	}

	public String getUserIcon() {
		return userIcon;
	}

	public void setUserIcon(String userIcon) {
		this.userIcon = userIcon;
	}

	public String getUserIp() {
		return userIp;
	}

	public void setUserIp(String userIp) {
		this.userIp = userIp;
	}

	public String getUserEmail() {
		return userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public String getUserHomepage() {
		return userHomepage;
	}

	public void setUserHomepage(String userHomepage) {
		this.userHomepage = userHomepage;
	}

	public String getUserCountry() {
		return userCountry;
	}

	public void setUserCountry(String userCountry) {
		this.userCountry = userCountry;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getFileCnt() {
		return fileCnt;
	}

	public void setFileCnt(String fileCnt) {
		this.fileCnt = fileCnt;
	}

	public String getTagCnt() {
		return tagCnt;
	}

	public void setTagCnt(String tagCnt) {
		this.tagCnt = tagCnt;
	}

	public String getNoticeYn() {
		return noticeYn;
	}

	public void setNoticeYn(String noticeYn) {
		this.noticeYn = noticeYn;
	}

	public String getBestYn() {
		return bestYn;
	}

	public void setBestYn(String bestYn) {
		this.bestYn = bestYn;
	}

	public String getSecretYn() {
		return secretYn;
	}

	public void setSecretYn(String secretYn) {
		this.secretYn = secretYn;
	}

	public String getEditYn() {
		return editYn;
	}

	public void setEditYn(String editYn) {
		this.editYn = editYn;
	}

	public String getPollStart() {
		return pollStart;
	}

	public void setPollStart(String pollStart) {
		this.pollStart = pollStart;
	}

	public String getPollEnd() {
		return pollEnd;
	}

	public void setPollEnd(String pollEnd) {
		this.pollEnd = pollEnd;
	}

	public String getTagName() {
		return tagName;
	}

	public void setTagName(String tagName) {
		this.tagName = tagName;
	}

	public String getTagSid() {
		return tagSid;
	}

	public void setTagSid(String tagSid) {
		this.tagSid = tagSid;
	}

	public String getThumbnailImg() {
		return thumbnailImg;
	}

	public void setThumbnailImg(String thumbnailImg) {
		this.thumbnailImg = thumbnailImg;
	}

    public String getRegistTimestamp() {
        return registTimestamp;
    }

    public void setRegistTimestamp(String registTimestamp) {
        this.registTimestamp = registTimestamp;
    }
}